//
//  NYSearchManager.h
//  Nooryes
//
//  Created by baken on 2020/3/9.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseNetManager.h"
@class NYTopicCategoryModel,NYArticleListModel,NYTopicListModel,NYSearchUserModel;

NS_ASSUME_NONNULL_BEGIN

@interface NYSearchManager : BaseNetManager

+(void)getHotTopicListWithPage:(NSString *)page andCompletionHandle:(void (^)(NYTopicListModel * _Nonnull, NSError * _Nonnull))complete;


+(void)getHotCategoryListWithPage:(NSString *)page andCompletionHandle:(void (^)(NYTopicCategoryModel * _Nonnull, NSError * _Nonnull))complete;

+(void)getSearchAriticlesWithKeys:(NSString *)keys andType:(NSString *)type andPage:(NSString *)page andCompletionHandle:(void (^)(NYArticleListModel * _Nonnull, NSError * _Nonnull))complete;

+ (void)getSearchTopicListWithKeys:(NSString *)keys andType:(NSString *)type andPage:(NSString *)page andCompletionHandle:(void (^)(NYTopicListModel *model, NSError *error))complete;

+ (void)getSearchUserListWithKeys:(NSString *)keys andPage:(NSString *)page andCompletionHandle:(void (^)(NYSearchUserModel * _Nonnull, NSError * _Nonnull))complete;


@end

NS_ASSUME_NONNULL_END
